/*
 * Copyright 2011 Romain Gilles
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.jvdb;

import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Date;
import java.sql.Ref;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;
import java.util.List;

/**
 * @author Romain Gilles
 */
class SimplePreparedStatementTimer extends AbstractPreparedStatementTimer {


    static SimplePreparedStatementTimer newInstance(int connectionId, int statementId, String sql) {
        return new SimplePreparedStatementTimer(connectionId, statementId, sql);
    }

    SimplePreparedStatementTimer(int connectionId, int statementId, String slq) {
        super(connectionId, statementId, slq);
    }

    @Override
    String doParseSql(List<String> statements) {
        return parseBatchedStatements(statements);
    }

    public void setNull(int parameterIndex, int sqlType) {
    }

    public void setBoolean(int parameterIndex, boolean x) {
    }

    public void setByte(int parameterIndex, byte x) {
    }

    public void setShort(int parameterIndex, short x) {
    }

    public void setInt(int parameterIndex, int x) {
    }

    public void setLong(int parameterIndex, long x) {
    }

    public void setFloat(int parameterIndex, float x) {
    }

    public void setDouble(int parameterIndex, double x) {
    }

    public void setBigDecimal(int parameterIndex, BigDecimal x) {
    }

    public void setString(int parameterIndex, String x) {
    }

    public void setBytes(int parameterIndex, byte[] x) {
    }

    public void setDate(int parameterIndex, Date x) {
    }

    public void setTime(int parameterIndex, Time x) {
    }

    public void setTimestamp(int parameterIndex, Timestamp x) {
    }

    public void setAsciiStream(int parameterIndex, InputStream x, int length) {
    }

    public void setUnicodeStream(int parameterIndex, InputStream x, int length) {
    }

    public void setBinaryStream(int parameterIndex, InputStream x, int length) {
    }

    public void setObject(int parameterIndex, Object x, int targetSqlType,
                          int scale) {
    }

    public void setObject(int parameterIndex, Object x, int targetSqlType) {
    }

    public void setObject(int parameterIndex, Object x) {
    }

    public void setCharacterStream(int parameterIndex, Reader reader, int length) {
    }

    public void setRef(int i, Ref x) {
    }

    public void setBlob(int i, Blob x) {
    }

    public void setClob(int i, Clob x) {
    }

    public void setArray(int i, Array x) {
    }

    public void setDate(int parameterIndex, Date x, Calendar cal) {
    }

    public void setTime(int parameterIndex, Time x, Calendar cal) {
    }

    public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) {
    }

    public void setNull(int paramIndex, int sqlType, String typeName) {
    }

    public void setURL(int parameterIndex, URL x) {
    }
}

